package com.ruoyi.student.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 任务对象 t_task_info
 * 
 * @author ruoyi
 * @date 2023-08-15
 */
public class TTaskInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String name;

    /** 任务排序 */
    @Excel(name = "任务排序")
    private Long sort;

    /** 所属课程id */
    @Excel(name = "所属课程id")
    private String courseId;

    /** 所属课程名称 */
    @Excel(name = "所属课程名称")
    private String courseName;

    /** 所属单元id */
    @Excel(name = "所属单元id")
    private String unitId;

    /** 所属单元名称 */
    @Excel(name = "所属单元名称")
    private String unitName;

    /** 初始css代码 */
    @Excel(name = "初始css代码")
    private String initCssCode;

    /** 初始js代码 */
    @Excel(name = "初始js代码")
    private String initJsCode;

    /** js结果代码 */
    @Excel(name = "js结果代码")
    private String resultJsCode;

    /** css结果代码 */
    @Excel(name = "css结果代码")
    private String resultCssCode;

    /** 初始html代码 */
    @Excel(name = "初始html代码")
    private String initHtmlCode;

    /** 结果代码 */
    @Excel(name = "结果代码")
    private String resultCode;

    /** 结果效果图片 */
    @Excel(name = "结果效果图片")
    private String resultImage;

    /** 创建人id */
    @Excel(name = "创建人id")
    private Long creatorId;

    /** 课程状态：0无效 1有效 */
    @Excel(name = "课程状态：0无效 1有效")
    private Integer validFlag;

    public void setInitHtmlCode(String initHtmlCode)
    {
        this.initHtmlCode = initHtmlCode;
    }

    public String getInitHtmlCode()
    {
        return initHtmlCode;
    }

    public void setResultCssCode(String resultCssCode)
    {
        this.resultCssCode = resultCssCode;
    }

    public String getResultCssCode()
    {
        return resultCssCode;
    }

    public void setResultJsCode(String resultJsCode)
    {
        this.resultJsCode = resultJsCode;
    }

    public String getResultJsCode()
    {
        return resultJsCode;
    }

    public void setInitJsCode(String initJsCode)
    {
        this.initJsCode = initJsCode;
    }

    public String getInitJsCode()
    {
        return initJsCode;
    }

    public void setInitCssCode(String initCssCode)
    {
        this.initCssCode = initCssCode;
    }

    public String getInitCssCode()
    {
        return initCssCode;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setCourseId(String courseId) 
    {
        this.courseId = courseId;
    }

    public String getCourseId() 
    {
        return courseId;
    }
    public void setCourseName(String courseName) 
    {
        this.courseName = courseName;
    }

    public String getCourseName() 
    {
        return courseName;
    }
    public void setUnitId(String unitId) 
    {
        this.unitId = unitId;
    }

    public String getUnitId() 
    {
        return unitId;
    }
    public void setUnitName(String unitName) 
    {
        this.unitName = unitName;
    }

    public String getUnitName() 
    {
        return unitName;
    }
    public void setResultCode(String resultCode) 
    {
        this.resultCode = resultCode;
    }

    public String getResultCode() 
    {
        return resultCode;
    }
    public void setResultImage(String resultImage) 
    {
        this.resultImage = resultImage;
    }

    public String getResultImage() 
    {
        return resultImage;
    }
    public void setCreatorId(Long creatorId) 
    {
        this.creatorId = creatorId;
    }

    public Long getCreatorId() 
    {
        return creatorId;
    }
    public void setValidFlag(Integer validFlag) 
    {
        this.validFlag = validFlag;
    }

    public Integer getValidFlag() 
    {
        return validFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("sort", getSort())
            .append("courseId", getCourseId())
            .append("courseName", getCourseName())
            .append("unitId", getUnitId())
            .append("unitName", getUnitName())
            .append("resultCode", getResultCode())
            .append("resultImage", getResultImage())
            .append("creatorId", getCreatorId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("validFlag", getValidFlag())
            .append("remark", getRemark())
            .append("initHtmlCode", getInitHtmlCode())
            .append("initCssCode", getInitCssCode())
            .append("initJsCode", getInitJsCode())
            .append("resultJsCode", getResultJsCode())
            .append("resultCssCode", getResultCssCode())
            .toString();
    }
}
